package cn.yuxiaoyuan.service;

import cn.yuxiaoyuan.pojo.domain.Login;
import cn.yuxiaoyuan.pojo.ro.LoginRo;
import cn.yuxiaoyuan.result.JSONResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 登录表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-06-13
 */
public interface ILoginService extends IService<Login> {

    JSONResult login(LoginRo loginRo);

    void initUserRoleAndPermission(Login one);

    JSONResult adminLogin(Login login);
}
